﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Collections.Specialized;

namespace Common
{
    public class WordData 
    {
        public List<string> SearchTerms = new List<string>(); //A list of user search terms the word appears in.
        /// <summary>
        /// Documents -&gt; 
        /// Key: Document
        /// Value: List Of WordPos
        /// </summary>
        public Hashtable Documents = new Hashtable(); //<Document ID, List of WordPos>
        //public Hashtable DocumentIDs = new Hashtable(); //<int (documentID), List of WordPos>

		public override string ToString()
		{
			return string.Format("{0} occurrence(s)", Documents.Count);
		}
    }
}
